<template>
  <div class="personal_center">
    <div class="navbar">
      <div class="title">个人中心</div>
      <div class="box">
        <img src="../../../tou.webp" alt="">
        <div class="text">
          <div class="name">张家核桃仁</div>
          <div class="phone">17744331126</div>
        </div>
        <div class="right">
          <p>白银会员</p>
        </div>
        <div class="time">
          <p>您已加入万枫酒店365天</p>
        </div>
        <div class="price">
          <p>余额 ￥1256.00</p>
        </div>
        <div class="icon">
          <router-link to="/person">
            <Icon name="contact-o" size="26" color="white"></Icon>
          </router-link>
        </div>
      </div>
      <div class="tab3">
        <div class="t1" style="margin-left: -10px;">
          <span>5188.58</span>
          <span style="font-size: 15px;margin-left: -68px;">我的赏金</span>
        </div>
        <span style="margin-top: 20px;">|</span>
        <div class="t1" style="margin-left: -5px;">
          <span> 1188.58</span>
          <span style="margin-left: -60px;font-size: 15px;">冻结中</span>
        </div>
        <span style="margin-top: 20px; margin-right: 20px;">|</span>
        <div class="t1" style="margin-left: -20px;">
          <span>4188.58</span>
          <span style="margin-left: -60px;font-size: 15px;">可提现</span>
        </div>
      </div>
      <div class="cell">
        <Cell title="我的订单" is-link to="/admin/Order_goods" />
        <Cell title="我的会员" is-link value="共36人" />
        <Cell title="我的服务券" is-link to="/service" />
        <Cell title="我的优惠券" is-link to="/coupon" value="共8张可用" />
      </div>
    </div>
  </div>
</template>

<script setup>
import { ref, reactive } from 'vue'
import { Icon, Cell, CellGroup } from 'vant';
</script>
<style>
* {
  margin: 0;
  padding: 0;
}

body {
  box-sizing: border-box;
  background-color: #f5f4f4;
}

.navbar {
  background: linear-gradient(to bottom, #1D243E, #464A56);
  color: white;
  height: 255px;
  line-height: 250px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.box {
  width: 90%;
  height: 120px;
  background: linear-gradient(to left, #B1C0CD, #7D8698);
  background-color: gray;
  margin-top: 50px;
  border-radius: 10px;
  margin-left: 17px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.box img {
  width: 50px;
  border-radius: 50%;
  box-shadow: 0 0 10px #000;
  margin-left: 20px;
  margin-top: -40px;
}

.text {
  margin-top: -230px;
  font-size: 14px;
}

.text .name {
  margin-top: 200px;
  margin-left: 30px;
}

.text .phone {
  margin-top: -230px;
  margin-left: 30px;
}

.right {
  border: 1px solid #fff;
  border-radius: 5px;
  width: 80px;
  height: 30px;
  margin-top: -50px;
  margin-left: 50px;
}

.right p {
  margin-top: -110px;
  margin-left: 6px;
  font-size: 16px;
}

.time p {
  display: block;
  margin-top: 50px;
  margin-left: -290px;
  font-size: 16px;
  color: #d8d5d5;
}

.price p {
  display: block;
  margin-top: 90px;
  margin-left: -290px;
  font-size: 16px;
  color: #d8d5d5;
}

.title {
  font-size: 20px;
  margin-left: 145px;
  margin-top: -100px;
  font-weight: 600;
}

.icon {
  margin-left: -30px;
  margin-top: 70px;
}

.tab3 {
  display: flex;
  height: 100px;
  justify-content: space-around;
  align-items: center;
}

.tab3 .t1 {
  display: flex;
  margin-top: 20px;
}

.tab3 .t1 span:nth-child(2) {
  margin-top: 20px;
  margin-left: -70px;
}

.cell {
  margin-top: 10px;
  height: 200px;
}
</style>